package org.celery.modules.order.mapper;

import org.celery.modules.order.entity.Order;
import org.celery.modules.order.vo.OrderVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;

/**
 * 订单表 Mapper 接口
 *
 * @author Celery
 * @since 2022-04-04
 */
public interface OrderMapper extends BaseMapper<Order> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param order
	 * @return
	 */
	List<OrderVO> selectOrderPage(IPage page, OrderVO order);

}
